package m.jclecai.com.activity;

import android.util.Log;
import android.widget.RadioButton;

import butterknife.BindView;
import butterknife.OnClick;
import m.jclecai.com.R;
import m.jclecai.com.base.MyBaseActivity;
/**
 *  我的申请
 */
public class MyApplyActivity extends MyBaseActivity {


    @BindView(R.id.rb_one)
    RadioButton rb_one;
    @BindView(R.id.rb_two)
    RadioButton rb_two;

    /**
     *  是否选择
     */
    private boolean isLeftSel = false;
    private boolean isRightSel = false;
    @Override
    public void onPointerCaptureChanged(boolean hasCapture) {

    }

    @Override
    public int getActivityInfo() {
        return 0;
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_myapply_layout;
    }

    @Override
    protected void initWidget() {

    }

    @Override
    protected void eventOnClick() {

    }

    @Override
    protected void initData() {

    }

    @Override
    protected void sendHttpRequest(int taskId) {

    }

    /**
     *  申请专家
     */
    @OnClick(R.id.rb_one)
    protected void applyExpert(){
        Log.e("=======","=========");
        rb_one.setEnabled(true);
        rb_two.setEnabled(false);
    }
    /**
     *  申请专家
     */
    @OnClick(R.id.rb_two)
    protected void applyShopkeeper(){
        Log.e("-------","-------");
        rb_one.setEnabled(false);
        rb_two.setEnabled(true);
    }
    /**
     *  申请专家
     */
    @OnClick(R.id.iv_back)
    protected void cannel(){
        finish();
    }
}
